package com.xiaoye.qbproject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoye.qbproject.domain.QbWarfareExamples;
import com.xiaoye.qbproject.vo.dropDown.QbWarfareExamplesDropDownVo;
import com.xiaoye.qbproject.vo.relation.Node;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author Administrator
 * @description 针对表【QB_WARFARE_EXAMPLES(战争战例)】的数据库操作Mapper
 * @createDate 2024-12-30 14:37:14
 * @Entity com.xiaoye.qbproject.domain.QbWarfare
 */
public interface QbWarfareExamplesMapper extends BaseMapper<QbWarfareExamples> {

    List<QbWarfareExamplesDropDownVo> dropDown();

    List<Node> getQbWarfareExamplesNodesByFromIds(@Param("warfareExampleIds") List<String> warfareExampleIds);

    /**
     * @param warfareNameSet
     * @description: 查询 战争下有的 战役
     * @author: ChenYao
     * @return: java.util.List<com.xiaoye.qbproject.domain.QbWarfareExamples>
     * @ceateDate: 2025/1/20 上午12:49
     */

    List<QbWarfareExamples> getWarfareExamplesByWarfareName(@Param("warfareNameSet") Set<String> warfareNameSet);

    /***
     * @description: 根据战役名称查询 战争战例
     * @author: ChenYao
     * @param warfareExampleNames
     * @return: java.util.List<com.xiaoye.qbproject.domain.QbWarfareExamples>
     * @ceateDate: 2025/1/20 上午2:18
     */

    List<QbWarfareExamples> getWarfareExamplesByWarfareExampleName(@Param("warfareExampleNames") List<String> warfareExampleNames);
}




